Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make crates buildable with minimal dependency versions #364

Merged
merged 6 commits into from Feb 22, 2021

Conversation

lo48576
Copy link
Contributor

@lo48576 lo48576 commented Jan 16, 2021

Some dependencies seems outdated, and does not compile with rustc 1.49.0.
This pull request bumps some dependencies in order to all crates compile with minimal dependency versions.

You can generate Cargo.lock with minimal dependency versions by cargo +nightly update -Z minimal-versions.
(Once Cargo.lock is generated, build and test can be proceeded by stable rustc.)

This PR chose literally minimum compilable deps versions to minimize unexpected side effects, but it results in compiler warnings in some crates (for example, lazy-static v1.0.2 uses std::sync::ONCE_INIT internally, which is now deprecated).
I think some dependencies should be updated to more recent versions, but it is out of scope of this PR.

@codecov
Copy link

codecov bot commented Jan 16, 2021

Codecov Report

Merging #364 (c3506cf) into master (4ef407e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #364   +/-   ##
=======================================
  Coverage   74.46%   74.46%           
=======================================
  Files          50       50           
  Lines        3798     3798           
=======================================
  Hits         2828     2828           
  Misses        970      970           
Flag Coverage Δ
both_native 53.03% <ø> (ø)
client_native 59.86% <ø> (ø)
server_native 56.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d3a01d...7b03ac4. Read the comment docs.

@elinorbgr elinorbgr merged commit 781791e into Smithay:master Feb 22, 2021
@elinorbgr
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants